package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.TagUserRelationDao;
import com.frogs.ucenter.entity.TagUserRelation;
import com.frogs.ucenter.service.TagUserRelationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("tagUserRelationService")
public class TagUserRelationServiceImpl extends BaseServiceImpl<TagUserRelation> implements TagUserRelationService {
    @Autowired
    private TagUserRelationDao tagUserRelationDao;

    public TagUserRelationServiceImpl() {
        super();
    }

    public TagUserRelationDao getTagUserRelationDao() {
        return tagUserRelationDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<TagUserRelation> getBaseDao() {
        return tagUserRelationDao;
    }

    public void setTagUserRelationDao(TagUserRelationDao tagUserRelationDao) {
        this.tagUserRelationDao = tagUserRelationDao;
    }
}